﻿using System.Text.Json.Serialization;

namespace Rswl.Common.Application.User.Dto
{
    public class PasswordRegiserDto
    {
        [JsonPropertyName("username")]
        public string UserName { get; set; }

        [JsonPropertyName("password1")]
        public string Password1 { get; set; }

        [JsonPropertyName("password2")]
        public string Password2 { get; set; }


        [JsonPropertyName("safecode")]
        public string SafeCode { get; set; } = "";

        [JsonPropertyName("inviteUserId")]
        public string InviteUserId { get; set; } = "";

        public bool VerifySafeCode { get; set; } = true;
    }
}
